package com.cetcs.kmga.dataManager.service.dataManager;

import com.cetcs.kmga.common.Data;
import com.cetcs.kmga.common.Page;
import com.cetcs.kmga.dataManager.entity.dataManager.vo.CircularChartVo;
import com.cetcs.kmga.dataManager.entity.dataManager.vo.FlipHistogramChartVo;
import com.cetcs.kmga.dataManager.entity.dataManager.vo.MultiLineChartVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * 风险事件Service
 *
 * @author zhangchunlin
 * @version V1.0 创建时间：2017-10-10 10:02
 *          Copyright 2017 by CETC
 */
public interface RiskEventService {

    /**
     * 风险事件统计
     */
    MultiLineChartVo findEventStatistics(String startDate, String endDate,List<String> xData);

    /**
     * 风险级别分布统计
     */
    CircularChartVo findRiskLevelStatistic(String startDate, String endDate);

    /**
     * 风险数据源
     */
    FlipHistogramChartVo findRiskDataSourceStatistic(String startDate, String endDate,String type,Integer isLimit);

    /**
     * 风险IP
     */
    FlipHistogramChartVo findRiskIpStatistic(String startDate, String endDate,String type,Integer isLimit);

    /**
     * 操作风险事件信息
     *
     * @param msg
     */
    void operRiskEventMsg(String msg) throws Exception;


    //============================yyangs ===================================

    /**
     * 风险事件排名-资源 分页
     *
     * @param params
     */
    Page findRiskDataSourceListsByPage(Data params) throws Exception;


    /**
     * 风险事件排名-客户端IP 分页
     *
     * @param params
     */
    Page findRiskIPListsByPage(Data params) throws Exception;

    //============================yyangs ===================================



}
